<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
        <title>Yogette's Contact Page</title>
        <link href="<?php echo base_url(); ?>/yogette/css/yogette.css" rel="stylesheet" type="text/css"/>
        <?php echo $map['js']; ?>
    </head>
    <body id="blog_entry" class="body-user" >
        <div class="main-wrapper-blog" style=" height:auto; position:absolute ; " >
            <img class="pinkcircle" src="<?php echo base_url(); ?>yogette/images/pinkCircle.jpg"/>
            <div class="Container"></div>
            <div class="menulist">
                <ul class="menulist-ul">
                    <li><img class="ice-cream" src="<?php echo base_url(); ?>yogette/images/logoIcon.jpg"/><a href="../yogette"><img src="<?php echo base_url(); ?>yogette/images/home.jpg" class="home" alt="Yogette's Homepage"/></a></li>
                </ul>
            </div>
            
            <div class="blog-div" style="text-align: center">
                <table border="0" width="900" dir="ltr" cellpadding="10"> 
                    <th class="blog-div-th" style="text-align: center">Contact-US</th>
             
                    <tr class="blog-div-tr" >
                        <td >
                            <h2 class="metadata"><b><span style="color: crimson;">Phone:</span></b>+1-617-353-6000</h2>
                                <h2 class="metadata"><b><span style="color: crimson;">Address:</span></b>755 Commonwealth Avenue, Room B4 Boston, MA 02215 </h2>
                                <h2 class="metadata"><b><span style="color: crimson; ">Admin-Email:</span></b><a style="text-decoration:none; color: black;" href="mailto:admin@yogette.net">Yogette's Administrator</a>  </h2>
                                <h2 class="metadata"><b><span style="color: crimson;">Support:</span></b>Yogette Staff</h2><br/>
                                <hr/>
                             </td>
                        
                        </tr>
             </table>
                
            </div>
                <div class="blog-div" style="margin-top: -1em; margin-left: 12em">
                    <table border="4" cellspacing="10" >
                        <tr><td>
                                <div>
                          <?php echo $map['html']; ?>
                        </div>
                        <div id="directionsDiv">
                          <?php
                        echo form_open(base_url() . 'yogette/contact/get_direct');
                               
                        $direct = array(
                            'name' => 'direct',
                            'id' => 'direct',
                            'value' => set_value('direct')
                        );?>
                        <?php
                         if ($this->session->flashdata('message')) {
                            echo $this->session->flashdata('message');
                        }
                        ?>
                         <ul class="login_form-ul">
                            <li>
                                <label class="metadata">Start Point<span class="important-field"></span></label>
                                <div>
                                    <?php echo form_input($direct); ?>
                                </div>
                            </li>
                            <li>
                                <?php echo form_submit(array('name' => 'submit'), 'Get Direction'); ?>
                            </li>
                         </ul>
                      <?php echo form_close(); ?>     
                            </div></td></tr>
                    <!--adding the comment if you wanted-->
                    
                    <tr><td><div class="blog-comment" >
                        <h2 class="blog-div-th">Report a Problem</h2>
                        <?php
                        echo form_open(base_url() . 'yogette/contact/add_issue');
                               
                        $title = array(
                            'name' => 'title',
                            'id' => 'title',
                            'value' => set_value('title')
                        );
                        $body = array(
                            'name' => 'body',
                            'id' => 'body',
                            'value' => set_value('body')
                        );
                        $email = array(
                            'name' => 'email',
                            'id' => 'email',
                            'value' => set_value('email')
                        );
                        ?>
                        <?php
                         if ($this->session->flashdata('message')) {
                            echo $this->session->flashdata('message');
                        }
                        ?>
                        <ul class="login_form-ul">
                            <li>
                                <label class="metadata">Title<span class="important-field">*</span></label>
                                <div>
                                    <?php echo form_input($title); ?>
                                </div>
                            </li>
                            <li>
                                <label class="metadata">Your Yogette's Email<span class="important-field">*</span></label>
                                <div>
                                    <?php echo form_input($email); ?>
                                </div>
                            </li>
                            <li>
                                <label class="metadata">Comment<span class="important-field">*</span></label>
                                <div><?php echo form_textarea($body); ?></div>
                               
                            </li>
                            <li>
                                <div>
                                    <?php echo validation_errors(); ?>
                                </div>    
                            </li>
                            <li>
                                <?php echo form_submit(array('name' => 'submit'), 'Submit Comment'); ?>
                            </li>
                        </ul>
                        <?php echo form_close(); ?>
                    </div> </td></tr>
                </table>
                </div>
              
        </div>
      
        <!-- footer start-->
        <div class="pre-footer">   
        </div>
        <div class="footer">
            <div>
                <p class="footer-p1">yogurt is healthy</p>
            </div>
            <div>
                <p class="footer-p2">Copyright &COPY; 2010 YOGETTE.</p>
            </div>
        </div>
        <img class="post-footer" src="<?php echo base_url(); ?>yogette/blank.jpg" id="blank" name="blank" /> 
        <!-- footer ends-->
    </body>
</html>  